<%--
    Document   : test
    Created on : 2016-2-12, 15:13:47
    Author     : lianzuotai
--%>

<%@page import="java.util.Map"%>
<%@page import="java.util.HashMap"%>
<%@page import="com.lianzt.commondata.AbstractCommonData"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
        <title>付树款</title>
        <link rel="stylesheet" href="<c:url value="/css/weui.css" />"/>
        <link rel="stylesheet" href="<c:url value="/css/jquery-weui.css" />"/>
        <link rel="stylesheet" href="<c:url value="/css/example.css" />"/>
        <script type="text/javascript" src="<c:url value="/js/jquery-2.1.4.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/js/jquery-weui.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/js/frame-weui.js"/>" ></script>
        <script type="text/javascript" src="<c:url value="/js/busi/wx/fsk_index.js"/>" ></script>
        <script type="text/javascript" src="<c:url value="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"/>" ></script>
    </head>
    
    <body>
        <div class="weui_search_bar" id="search_bar">
            <form class="weui_search_outer" method="post" action="fsk.do" id="form">
                <div class="weui_search_inner">
                    <i class="weui_icon_search"></i>
                    <c:if test="${bs.value==1}">
                        <input type="search" class="weui_search_input" id="search_input" value="${zd.value[0].hmsyr.value}"  name="xm" required/>
                    </c:if>
                    <c:if test="${bs.value!=1}">
                    <input type="search" class="weui_search_input" id="search_input" placeholder="请输入姓名搜索"  name="xm" required/>
                    </c:if>
                    <input type="hidden" name="service" value="P90003">
                    <a href="javascript:" class="weui_icon_clear" id="search_clear"></a>
                </div>
                <label for="search_input" class="weui_search_text" id="search_text">
                    <i class="weui_icon_search"></i>
                    <span>搜索</span>
                </label>
            </form>
            <a href="javascript:" class="weui_search_cancel" id="search_cancel">取消</a>
        </div>
        <c:if test="${bs.value==1}">

            <div class="weui_cells_title">账目如下所示：
                <c:if test="${zd.length!=0}">
                <a href="javascript:xsxq();" class="weui_btn weui_btn_mini weui_btn_primary" style="margin-left: 170px">详情</a></div>
                </c:if>
            <c:if test="${zd.length==0}">
            <center><div class="weui_cells_title">暂无未付款项！</div></center>
            </c:if>
        <div class="weui_cells weui_cells_radio">
            <c:forEach items="${zd.value}" var="cl" varStatus="st">
                <label class="weui_cell weui_check_label" for="${st.index+1}">
                    <div class="weui_cell_bd weui_cell_primary">
                        <p>${st.index+1}.${cl.hmlx_.value},${cl.shrq.value},未付款:${cl.wfk.value}元</p>
                    </div>
                    <div class="weui_cell_ft">
                        <input type="radio" class="weui_check" name="radio1" id="${st.index+1}" value="${cl.id.value}-${cl.wfk.value}">
                        <span class="weui_icon_checked"></span>
                    </div>
                </label>
            </c:forEach>
        </div>
        <c:if test="${zd.length!=0}">    
        <div class="weui_cell">
            <div class="weui_cell_hd" style="width: 32%"><label class="weui_label" style="width: 100%">共计：</label></div>
            <div class="weui_cell_bd weui_cell_primary">
                <input class="weui_input" type="text"  id="gj" name="gj" value="${gj.value}元" readonly="readonly"/>
            </div>
        </div>
            <div class="weui_btn_area">
                <a href="javascript:;" id="qrfk" class="weui_btn weui_btn_primary">确认付款</a>
            </div>
        </c:if>
    </c:if>
</body>
</html>